﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Manon.Core.Commons
{
    /// <summary>
    /// 用户类型
    /// </summary>
    [Flags]
    public enum UserTypeEnum
    {
        /// <summary>
        /// 平台管理员
        /// </summary>
        [Description("Admin")]
        Admin = 1,

        /// <summary>
        /// 仓管
        /// </summary>
        [Description("WareHouseAdmin")] 
        WarehouseManager = 2,

        /// <summary>
        /// 司机
        /// </summary>
        [Description("Driver")] 
        Driver = 4,

        /// <summary>
        /// 站长
        /// </summary>
        [Description("StationMaster")] 
        StationMaster = 8,

        /// <summary>
        /// 配送员
        /// </summary>
        [Description("Distributer")] 
        Deliver = 16,
         
    }
}
